/*
 * @Author: 黄宇/Hyuishine
 * @Date: 2022-06-22 22:56:05
 * @LastEditors: 徐伟杰 1529315455@qq.com
 * @LastEditTime: 2022-08-24 14:19:21
 * @Description: 
 * @Email: hyuishine@gmail.com
 * @Company: 3xData
 * @youWant: add you want
 */

export function calcTime(time) {
  let dist = time.slice(0, 10); // 年月
  return dist;
}